/*
 * #%L
 * SwiftUICommonUtilities
 * $Id:$
 * $HeadURL:$
 * %%
 * Copyright (C) 2011 - 2012 Linkwithweb
 * %%
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as
 * published by the Free Software Foundation, either version 3 of the 
 * License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public 
 * License along with this program.  If not, see
 * <http://www.gnu.org/licenses/gpl-3.0.html>.
 * #L%
 */
/**
 * 
 */
package com.linkwithweb.products.swiftui.dataobject;

/**
 * DROP TABLE IF EXISTS `automata`.`frm_lov`;
 * CREATE TABLE `automata`.`frm_lov` (
 * `LOV_KEY` int(10) unsigned NOT NULL AUTO_INCREMENT,
 * `LOV_ID` varchar(45) NOT NULL,
 * `ENTITY_ID` varchar(45) NOT NULL,
 * `LOV_NAME` varchar(45) NOT NULL,
 * `LOV_DESCRIPTION` varchar(45) NOT NULL,
 * `LOV_TYPE` varchar(45) NOT NULL,
 * `LOV_TABLE` varchar(45) NOT NULL,
 * `LOV_SQL` varchar(45) NOT NULL,
 * `LOV_KEY_COLUMN` varchar(45) NOT NULL,
 * `LOV_VALUE_COLUMN` varchar(45) NOT NULL,
 * `LOV_LABEL` varchar(45) NOT NULL,
 * `IDENTIFIER` varchar(45) NOT NULL,
 * `IDENTIFIER_ROLE` varchar(45) NOT NULL,
 * `CREATED_BY` int(10) unsigned NOT NULL,
 * `CREATED_DATE` datetime NOT NULL,
 * `MODIFIED_BY` int(10) unsigned NOT NULL,
 * `MODIFIED_DATE` datetime NOT NULL,
 * PRIMARY KEY (`LOV_KEY`)
 * ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 * 
 * @author ashwin kumar
 * 
 */
public class FrameworkLOV extends BaseDataObject {
	private long lovKey = -1;
	private String lovID = "";
	private String entityId = "";
	private String lovName = "";
	private String lovDescription = "";
	private String lovType = "";
	private String lovMode = "";

	public interface LovTypes {
		public String SQL = "SQL";
		public String DBOBJECT = "DBOBJECT";
		public String SYSTEM = "SYSTEM";
	}

	public interface LovModes {
		public String FRAMEWORK = "FRAMEWORK";
		public String APP_SPECIFIC = "APP_SPECIFIC";
	}

	private String lovTable = "";
	private String lovSQL = "";
	private String lovKeyColumn = "";
	private String lovValueColumn = "";
	private String lovLabel = "";

	/**
	 * @return the lovKey
	 */
	public long getLovKey() {
		return lovKey;
	}

	/**
	 * @param lovKey
	 *            the lovKey to set
	 */
	public void setLovKey(long lovKey) {
		this.lovKey = lovKey;
	}

	/**
	 * @return the lovID
	 */
	public String getLovID() {
		return lovID;
	}

	/**
	 * @param lovID
	 *            the lovID to set
	 */
	public void setLovID(String lovID) {
		this.lovID = lovID;
	}

	/**
	 * @return the entityId
	 */
	public String getEntityId() {
		return entityId;
	}

	/**
	 * @param entityId
	 *            the entityId to set
	 */
	public void setEntityId(String entityId) {
		this.entityId = entityId;
	}

	/**
	 * @return the lovName
	 */
	public String getLovName() {
		return lovName;
	}

	/**
	 * @param lovName
	 *            the lovName to set
	 */
	public void setLovName(String lovName) {
		this.lovName = lovName;
	}

	/**
	 * @return the lovDescription
	 */
	public String getLovDescription() {
		return lovDescription;
	}

	/**
	 * @param lovDescription
	 *            the lovDescription to set
	 */
	public void setLovDescription(String lovDescription) {
		this.lovDescription = lovDescription;
	}

	/**
	 * @return the lovType
	 */
	public String getLovType() {
		return lovType;
	}

	/**
	 * @param lovType
	 *            the lovType to set
	 */
	public void setLovType(String lovType) {
		this.lovType = lovType;
	}

	/**
	 * @return the lovTable
	 */
	public String getLovTable() {
		return lovTable;
	}

	/**
	 * @param lovTable
	 *            the lovTable to set
	 */
	public void setLovTable(String lovTable) {
		this.lovTable = lovTable;
	}

	/**
	 * @return the lovSQL
	 */
	public String getLovSQL() {
		return lovSQL;
	}

	/**
	 * @param lovSQL
	 *            the lovSQL to set
	 */
	public void setLovSQL(String lovSQL) {
		this.lovSQL = lovSQL;
	}

	/**
	 * @return the lovKeyColumn
	 */
	public String getLovKeyColumn() {
		return lovKeyColumn;
	}

	/**
	 * @param lovKeyColumn
	 *            the lovKeyColumn to set
	 */
	public void setLovKeyColumn(String lovKeyColumn) {
		this.lovKeyColumn = lovKeyColumn;
	}

	/**
	 * @return the lovValueColumn
	 */
	public String getLovValueColumn() {
		return lovValueColumn;
	}

	/**
	 * @param lovValueColumn
	 *            the lovValueColumn to set
	 */
	public void setLovValueColumn(String lovValueColumn) {
		this.lovValueColumn = lovValueColumn;
	}

	/**
	 * @return the lovLabel
	 */
	public String getLovLabel() {
		return lovLabel;
	}

	/**
	 * @param lovLabel
	 *            the lovLabel to set
	 */
	public void setLovLabel(String lovLabel) {
		this.lovLabel = lovLabel;
	}

	/**
	 * @return the lovMode
	 */
	public String getLovMode() {
		return lovMode;
	}

	/**
	 * @param lovMode
	 *            the lovMode to set
	 */
	public void setLovMode(String lovMode) {
		this.lovMode = lovMode;
	}

}
